<div class="Head">
    <h2>
        <div class="fl"><h1 class="normal"><?php echo $article->getTitle(); ?></h1></div>
        <div class="RDate"><?php echo $article->getArticleViews(); ?> views</div>
    </h2>
</div>
<div class="Middle">
       <p>by <span><?php echo link_to($article->getUser()->getDisplayName(),'user_obj',$article->getUser()); ?></span> at <?php echo $article->getCreatedAt('d-m-Y'); ?></p>
       <p><?php echo html_entity_decode($article->getContent()); ?></p>
       <p><b>Author View:</b> <?php echo  html_entity_decode($article->getAuthorSpeech()); ?></p>
       <p><b>Comments:</b></p>
       <div id="comment_message"></div>
       <?php 
           $counter = 0;
           if(count($article->getComments(CommentPeer::getActiveCommentCriteria()))){
           foreach($article->getComments(CommentPeer::getActiveCommentCriteria()) as $comment): ?>
            <?php include_partial('comment/list', array('comment' => $comment, 'counter' => ++$counter)); ?>
            <?php
            endforeach;
           }
            else{
            ?>
           <p>No Comments!</p>
       <?php
            }
       ?>
       <p style="color: red;"><?php echo $sf_user->getFlash('message'); ?></p>
       <p>
           <b>Add Comment:</b>
           <?php include_partial("comment/form", array('form'=>$form)); ?>
       </p>
</div>